package com.baselibrary.adapter

import com.baselibrary.R
import com.baselibrary.bean.FriendListBean
import com.baselibrary.extension.checkValue
import com.baselibrary.view.VipHeardImgView
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder


/**选择好友分享底部横向选择的人数
 *2022/3/30
 *desc:
 */
class BottomSelectAdapter : BaseQuickAdapter<FriendListBean, BaseViewHolder>(R.layout.item_share_bottom_select) {

    override fun convert(helper: BaseViewHolder, item: FriendListBean) {
        helper.getView<VipHeardImgView>(R.id.vhi_cover).setData(item.icon.checkValue(), item.isFans == 1)
    }
}